load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "lint",
    srcs = [
        "lint.go",
        "runner.go",
        "stats.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/honnef.co/go/tools/lint",
    importpath = "honnef.co/go/tools/lint",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/golang.org/x/tools/go/analysis",
        "//vendor/golang.org/x/tools/go/packages",
        "//vendor/golang.org/x/tools/go/types/objectpath",
        "//vendor/honnef.co/go/tools/config",
        "//vendor/honnef.co/go/tools/facts",
        "//vendor/honnef.co/go/tools/internal/cache",
        "//vendor/honnef.co/go/tools/loader",
    ],
)
